'------------------------------------------------------------------------------
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version: 1.0.2723.0
'
'     Changes to this file may cause incorrect behavior and will be lost if 
'     the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------

Option Strict On
Option Explicit On

Imports System
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization

'
'This source code was auto-generated by wsdl, Version=1.0.2723.0.
'
Namespace Simple
    
    Public Class <System.Web.Services.WebServiceBindingAttribute(Name:="UsingSoapHeadersSoap", [Namespace]:="http://tempuri.org/")> UsingSoapHeaders
        Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
        
        Public MySoapHeaderValue As MySoapHeader
        
        Public Sub New()
            MyBase.New
            Me.Url = "http://localhost/wrox/4885/WebServices/Consume/SoapHeaderSimple/SoapHeaders_vb.as"& _ 
"mx"
        End Sub
        
        Public Function <System.Web.Services.Protocols.SoapHeaderAttribute("MySoapHeaderValue"),  _
        System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetValueOfSoapHeader", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> GetValueOfSoapHeader() As String
            Dim results() As Object = Me.Invoke("GetValueOfSoapHeader", New Object(0) {})
            Return CType(results(0),String)
        End Function
        
        Public Function BeginGetValueOfSoapHeader(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginInvoke("GetValueOfSoapHeader", New Object(0) {}, callback, asyncState)
        End Function
        
        Public Function EndGetValueOfSoapHeader(ByVal asyncResult As System.IAsyncResult) As String
            Dim results() As Object = Me.EndInvoke(asyncResult)
            Return CType(results(0),String)
        End Function
    End Class
    
    Public Class <System.Xml.Serialization.XmlRootAttribute([Namespace]:="http://tempuri.org/", IsNullable:=true)> MySoapHeader
        Inherits SoapHeader
        
        Public Value As String
    End Class
End Namespace
